package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdCategoryProperty;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TdCategoryPropertyMapper {

    int insert(TdCategoryProperty record);

    int insertSelective(TdCategoryProperty record);

    int deleteByCommodityId(Integer id);
    int deleteByCategoryId(Integer id);

    List<TdCategoryProperty> queryByCategoryId(Integer categoryid);

}